package com.yunfangdata.mapper;

import com.yunfangdata.domain.Gathering;
import com.yunfangdata.query.GatheringQueryObject;

import java.util.List;

public interface GatheringMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Gathering record);

    Gathering selectByPrimaryKey(Long id);

    List<Gathering> selectAll();

    int updateByPrimaryKey(Gathering record);

    int queryForCount(GatheringQueryObject qo);

    List<Gathering> queryForList(GatheringQueryObject qo);

    void changeState(Long id);
}